package com.wanmait.recruit.service;

import com.github.pagehelper.PageInfo;
import com.wanmait.recruit.pojo.Industry;
import com.wanmait.recruit.pojo.Position;
import com.wanmait.recruit.pojo.PositionType;

import java.util.ArrayList;
import java.util.List;

public interface PositionTypeService extends CommonService<PositionType> {


    PageInfo<PositionType> findAll(String typeName, Integer pageNum, Integer typeId);
    Boolean isRename(String typeName);
    void deleteById(Integer id);
    List<PositionType> findAll();


    String selectByPositionTypeId(Integer positionTypeId);

    ArrayList<PositionType> selectFindAll();

    List<PositionType> selectFindAllAndPosition();

    List<PositionType> findAllByIndustryId(Integer industryId);

}
